package com.lyj.job.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2025-08-13
 * Time: 23:01
 */
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "security.ignore")
//从nacos中读取的所有前缀：security.ignore
public class IgnoreWhiteProperties {
    /**
     * 网关检验白名单
     */
    private List<String> whites = new ArrayList<>();

    public List<String> getWhites() {
        return whites;
    }

    public void setWhites(List<String> whites) {
        this.whites = whites;
    }
}
